import { GET } from '@/utils/request'

/**
 * 获取文件上传签名
 * @param {String} filename
 */
export const getPublicUploadSign = (filename) => GET('/cos/sign/upload/common', { filename })

/**
 * 获取文件列表签名
 */
export const getFileListSign = () => GET('/node/sign/fileList')

/**
 * 获取文件列表签名
 */
export const getDelSign = (key) => GET('/node/sign/delFile', { key })
